:root {
  --black: #101010;
  --bblack: #000000;
  --blue: #5196CD;
  --grey: #989898;
  --dark-grey: #4c4c4c;
  --page-bg: #F5F5F7;
}

@font-face {
  font-family: Circular Pro;
  font-weight: 400;
  font-style: normal;
  src: url("../1. SZ3YAN_design/font/circular-pro-book.woff2")
}

@font-face {
  font-family: Circular Pro;
  font-weight: 500;
  font-style: normal;
  src: url("../1. SZ3YAN_design/font/circular-pro-medium.woff2")
}

@font-face {
  font-family: Circular Pro;
  font-weight: 600;
  font-style: normal;
  src: url("../1. SZ3YAN_design/font/circular-pro-bold.woff2")
}

@font-face {
  font-family: Circular Pro;
  font-weight: 700;
  font-style: normal;
  src: url("../1. SZ3YAN_design/font/circular-pro-black.woff2")
}

* {
  box-sizing: border-box;
  border: 0;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  font-family: "Circular Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  color: #000000;
  background: var(--page-bg);
}

body::-webkit-scrollbar {
  display: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0;
  margin-bottom: 10px;
}

h1 {
  font-size: 42px;
  letter-spacing: -1px;
}

h2  {
  font-size: 32px;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 28px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h4 {
  font-size: 18px;
  letter-spacing: -0.5px;
  font-weight: 600;
}

h5 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02px;
  line-height: 1;
}

h6 {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: .05em;
}

a {
  text-decoration: none;
  color: var(--blue);
}

button {
  background: transparent;
  border: 0;
}

button:focus {
  outline: none;
}

p {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

@media (min-width: 891px) {
  .container {
    max-width: 1080px;
    margin: auto;
    padding-left: 50px;
    padding-right: 50px;
  }

  .nav__header {
    background-color: transparent;
    padding-top: 35px;
  }

  .nav__header .container {
    display: flex;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
  }

  .nav__navigation {
    text-align: right;
    position: relative;
    flex: 1;
  }

  .nav__navigation a {
    text-decoration: none;
    font-size: 16px;
    color: black;
    margin-left: 3rem;
  }

  .nav__navigation .nav {
    list-style: none;
  }

  .nav__navigation .nav li {
    display: inline-block;
    position: relative;
  }

  .nav__navigation > .nav__trigger {
    display: none; 
  }

  .nav__wrapper .nav > li.nav__current a {
    border-color: var(--blue);
    color: var(--blue);
  }

  .nav__navigation > .nav__wrapper > .nav__trigger, #nav__mobile {
    display: none;
  }
}

@media (max-width: 890px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .nav__header {
    width: 100%;
    background: transparent;
    padding-top: 50px;
    z-index: 1;
  }

  .nav__header .container {
    max-width: 100%;
    display: flex;
    align-items: center;
  }

  .nav__logo {
    width: 95%;
  }

  .nav__navigation .nav {
    list-style: none
  }

  .nav__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav__trigger { 
    position: relative;
    width: 22px;
    height: 14px;
    cursor: pointer;
  }

  .nav__trigger:hover span {
    background: var(--grey);
  }

  .nav__trigger span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    transition: all 0.2s, background 0s;
    background: var(--grey);
  }

  .nav__trigger span:nth-child(2) {
    top: 6px;
  }

  .nav__trigger span:last-child {
    top: 12px;
  }
  
  .nav__open span:first-child, .nav__open span:last-child {
    top: 8px;
  }

  .nav__open span:first-child {
    transform: rotate(45deg);
  }

  .nav__open span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }

  .nav__open span:last-child {
    transform: rotate(-45deg);
  }

  .nav__wrapper .nav {
    display: none;
  }

  .nav__wrapper button {
    background-color: transparent;
  }

  #nav__mobile {
    background-color: var(--page-bg);
    width: 100%;
    z-index: 2;
    position: absolute;
    display: none;
  }

  #nav__mobile .container .nav {
    padding-bottom: 30px;
    list-style: none;
    width: 100%;
  }

  #nav__mobile .container .nav li {
    padding-top: 11px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--grey);
  }
}

@media (max-width: 320px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.copyright {
  position: relative;
  text-align: center;
  color: var(--grey);
  font-size: 12px;
  padding-bottom: 16px;
}